"use strict";
// 类装饰器
let list = [
    {
        id: 1,
        name: '商品一',
        price: 11.0,
        desc: '描述'
    },
    {
        id: 2,
        name: '商品2',
        price: 11.0,
        desc: '描述'
    }
];
console.log(list);
//类型断言
let shape = { color: 'red', width: 80, height: 80 };
let someValue = 'it is any type';
let someLength1 = someValue.length;
let someLength2 = someValue.length;
console.log(someLength1, someLength2);
let square = {
    color: 'red',
    width: 80,
    height: 80
};
//泛型
